package com.sunny.myproject.client.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sunny.myproject.system.entity.IdEntity;

/**
 * 客户/供应商
 * @author sunny_nie
 *
 */
@Entity
@Table(name="tb_client")
public class Client extends IdEntity{
	
	/**
	 * 代码
	 */
	private String code;
	/**
	 * 简称 
	 */
	private String shortName;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 职务
	 */
	private String place;
	/**
	 *  联系人
	 */
	private String linkman;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 手机
	 */
	private String mobile_phone;
	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 月结开始日期
	 */
	private Date monthPayStart;
	/**
	 * 月结结束日期
	 */
	private Date monthPayEnd;
	/**
	 * 月结方式
	 */
	private String payMethod;
	/**
	 * 付款日期
	 */
	private Date payDate;
	/**
	 * 银行帐号
	 */
	private String bankNum;
	/**
	 * 网址
	 */
	private String website;
	
	/**
	 * 经营范围
	 */
	private String scopeOfperation;
	/**
	 * 传真
	 */
	private String fax;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 收货地址
	 */
	private String deliveryAddress;
	/**
	 * 销售人员
	 */
	private String saler;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 助记
	 */
	private String mnemonic;
	
	/**
	 * 状态
	 */
	private String status;
	/**
	 *  税率
	 */
	private String taxRate;
	/**
	 * 卖或买
	 */
	private String sellOrBuy;
	/**
	 * 区域
	 */
	private String area;
	/**
	 * 金额
	 */
	private String money;
	/**
	 * 操作员
	 */
	private String operator;
	
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMobile_phone() {
		return mobile_phone;
	}
	public void setMobile_phone(String mobile_phone) {
		this.mobile_phone = mobile_phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getMonthPayStart() {
		return monthPayStart;
	}
	public void setMonthPayStart(Date monthPayStart) {
		this.monthPayStart = monthPayStart;
	}
	public Date getMonthPayEnd() {
		return monthPayEnd;
	}
	public void setMonthPayEnd(Date monthPayEnd) {
		this.monthPayEnd = monthPayEnd;
	}
	public String getPayMethod() {
		return payMethod;
	}
	public void setPayMethod(String payMethod) {
		this.payMethod = payMethod;
	}
	public Date getPayDate() {
		return payDate;
	}
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}
	public String getBankNum() {
		return bankNum;
	}
	public void setBankNum(String bankNum) {
		this.bankNum = bankNum;
	}
	public String getWebsite() {
		return website;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public String getScopeOfperation() {
		return scopeOfperation;
	}
	public void setScopeOfperation(String scopeOfperation) {
		this.scopeOfperation = scopeOfperation;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDeliveryAddress() {
		return deliveryAddress;
	}
	public void setDeliveryAddress(String deliveryAddress) {
		this.deliveryAddress = deliveryAddress;
	}
	public String getSaler() {
		return saler;
	}
	public void setSaler(String saler) {
		this.saler = saler;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getMnemonic() {
		return mnemonic;
	}
	public void setMnemonic(String mnemonic) {
		this.mnemonic = mnemonic;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(String taxRate) {
		this.taxRate = taxRate;
	}
	public String getSellOrBuy() {
		return sellOrBuy;
	}
	public void setSellOrBuy(String sellOrBuy) {
		this.sellOrBuy = sellOrBuy;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	
	
	
}
